FROM python:3.12.4


# Update package list
RUN apt-get update

# Install the fixed version of libexpat
RUN apt-get install -y libexpat1=2.5.0-1+deb12u1

# Install the fixed version of git
RUN apt-get install -y git=1:2.39.5-0+deb12u1

# Install the fixed version of openssl
RUN apt-get install -y openssl=3.0.15-1~deb12u1

# Install the fixed version of aom
RUN apt-get install -y libaom3=3.6.0-1+deb12u1

# Install the fixed version of postgresql
RUN apt-get install -y libpq5=15.10-0+deb12u1

# Install the fixed version of python3
RUN apt-get install -y python3.11=3.11.2-6+deb12u4

# Install the fixed version of sqlite3
RUN apt-get install -y sqlite3=3.40.1-2+deb12u1

# Install the fixed version of libheif
RUN apt-get install -y libheif1=1.15.1-1+deb12u1

# Clean up
RUN apt-get clean && rm -rf /var/lib/apt/lists/*